<template>
  <el-select @change="change" v-model="value" :placeholder="moren">
    <el-option
      v-for="item in options"
      :key="item.value"
      :label="item.label"
      size="mini"
      :value="item.value"
    ></el-option>
  </el-select>
</template>

<script>
export default {
  data() {
    return {
      value: "",
      moren: "典礼时间"
    };
  },
  props:['options'],
  methods: {
    change(value) {
      this.$emit('getTime',value)
    }
  }
};
</script>

<style scoped>
.el-select {
  width: 210px;
}
</style>